package cn.ilikes.tools.hbase.jpa.metadatas.orms;

import cn.ilikes.tools.hbase.jpa.metadatas.IORMMetaDataFactory;
import cn.ilikes.tools.hbase.jpa.metadatas.orms.elements.EntityMappings;
import cn.ilikes.tools.hbase.jpa.metadatas.orms.elements.NamedQuery;

public class ORMMetaDataFactory implements IORMMetaDataFactory {

	private EntityMappings entityMappings = new EntityMappings();

	@Override
	public NamedQuery selectNamedQuery(String name) {
		NamedQuery namedQuery = entityMappings.getNamedQuerys().get(name);
		return namedQuery;
	}

	public EntityMappings getEntityMappings() {
		return entityMappings;
	}

	public void setEntityMappings(EntityMappings entityMappings) {
		this.entityMappings = entityMappings;
	}

}
